{% load static %}
<link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}">
<!DOCTYPE html>
<html lang="zh-hans">
<head>
    <meta charset="UTF-8">
    <title>Polls首页</title>
</head>
<body>
{% if latest_question_list %}
<ul>
    {% for question in latest_question_list %}
    <li><a href = "{% url 'polls:detail' question.id %}"> {{ question.question_text }}</a>
    </li>
    {% endfor %}

</ul>

{% else %}
<p> no polls are available.</p>
{% endif %}









</body>
</html>